package com.woniuxy.vuetest.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: linKe
 * @Date: 2021/11/21 16:44
 * @FileName: User
 * @version: 1.0
 * @Description: 用户实体类
 * Accessors set方法返回的是对象的实例，因此可以直接再使用set方法或者直接调用函数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class User {
    /**
     * id唯一标识
     */
    private int id;
    private String name;
    private Date date;
    private String address;

}
